package com.example.demo.controller;

import com.example.demo.module.User;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by ${lgs} on 2018/7/23
 */
//@RestController
public class UserController {

//    @RequestMapping("/getInfo")
    public User getInfo() {
        return new User("QQ", 15, "深圳", "这是备注信息");
    }
}
